package com.self.masterwork;

import java.io.Serializable;
import java.util.Map;

/**
 * 作者：tianjiayuan
 * 创建时间：2018-05-31 13:53
 * 类描述：
 * 修改人：
 * 修改时间：
 */
public abstract class BusChannel implements Serializable {
    private static final long serialVersionUID = 6684751419191141025L;


    public Map<String, String[]> consumers = null;

    private String channelName;

    public abstract void open();

    public abstract void close();

    public Map<String, String[]> getConsumers() {
        return consumers;
    }

    public void setConsumers(Map<String, String[]> consumers) {
        this.consumers = consumers;
    }

    public String getChannelName() {
        return channelName;
    }

    public void setChannelName(String channelName) {
        this.channelName = channelName;
    }
}
